//
//  Kylin_SaveTool.m
//  01-LotteryBaseFrame
//
//  Created by Kylin on 16/1/8.
//  Copyright © 2016年 kylin. All rights reserved.
//

#import "Kylin_SaveTool.h"

@implementation Kylin_SaveTool


// 仿写系统方法
+ (id)objctForKey:(NSString *)anAttribute{
    return [[NSUserDefaults standardUserDefaults] objectForKey:anAttribute];
}

+ (void)setObjct:(id)value forKey:(NSString *)DefaultName{
    
    if (value) {
        [[NSUserDefaults standardUserDefaults] setObject:value forKey:DefaultName];
        
        [[NSUserDefaults standardUserDefaults] synchronize];
    }
}
@end
